package com.chen.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chen.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chen.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author chen
 * @since 2022-12-13
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> getUserByPage(@Param("page") Page<User> page,@Param("userVO") UserVO userVO);

    List<User> getUserList(@Param("userVO") UserVO userVO);
}